﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityFrameworkStudy.Studys
{
    class LevelThreeStudy
    {
        public static void 测试三级聚合()
        {
            using (var context = new StudyContext())
            {
                context.Level1s.First().Level2s.First().Level3s.Clear();

                context.SaveChanges();
            }
        }
    }
}
